Skip to contentSkip to conversation

nss: dunfell intermittent compilation error

DISCUSSION Randy MacLeod 2 participants 2 messages May 8, 2023

lore
Share & tools
lore
#0 lore raw

When Narpat and I were testing chromium-112, we noticed an intermittent nss compile failure for dunfell:

/usr/src/debug/nss/3.51.1-r0/nss-3.51.1/nss/lib/freebl/gcm-aarch64.c:91: multiple definition of `gcm_HashZeroX_hw'; Linux3.4_aarch64_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/gcm.o:gcm.c:(.text.gcm_HashZeroX_hw+0x0): first defined here

It's intermittent in that a bitbake -c clean nss and a recompile worked. We don't depend on dunfell other than as part of the chromium update testing so all I can take time to do right now is to report the issue here in case someone else wants to work on it.

Similar errors have been seen by buildroot and tracked here: https://bugs.busybox.net/show_bug.cgi?id=12501

If you run:
❯ git log --oneline lib/freebl/gcm-aarch64.c
2cf7fd12a Bug 1580126 - Fix build failure on aarch64_be while building freebl/gcm r=kjacobs 02cb61a77 Bug 1559012 - Improve GCM perfomance using PMULL2 r=KevinJacobs,jcj

then 2cf7fd12a seems like the right fix but:

nss.git on NSS_3_51_BRANCH
❯ git tag --contains 2cf7fd12ad2895b13c9dea6717843bc15ca46ca3 | rg 51 NSS_3_51_1_BETA1
NSS_3_51_1_RTM
NSS_3_51_BETA1
NSS_3_51_BETA2
NSS_3_51_RTM

so it's already part of 3.51 unless we somehow managed to revert part of that change and I don't see that.

Has anyone else seen this error on dunfell?

../Randy

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#1 lore raw
Quoted 24 lines · Randy MacLeod via lists.openembedded.org

When Narpat and I were testing chromium-112, we noticed an intermittent nss compile failure for dunfell:

/usr/src/debug/nss/3.51.1-r0/nss-3.51.1/nss/lib/freebl/gcm-aarch64.c:91: multiple definition of `gcm_HashZeroX_hw'; Linux3.4_aarch64_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/gcm.o:gcm.c:(.text.gcm_HashZeroX_hw+0x0): first defined here

It's intermittent in that a bitbake -c clean nss and a recompile worked. We don't depend on dunfell other than as part of the chromium update testing so all I can take time to do right now is to report the issue here in case someone else wants to work on it.

Similar errors have been seen by buildroot and tracked here: https://bugs.busybox.net/show_bug.cgi?id=12501

If you run:
❯ git log --oneline lib/freebl/gcm-aarch64.c
2cf7fd12a Bug 1580126 - Fix build failure on aarch64_be while building freebl/gcm r=kjacobs 02cb61a77 Bug 1559012 - Improve GCM perfomance using PMULL2 r=KevinJacobs,jcj

then 2cf7fd12a seems like the right fix but:

nss.git on NSS_3_51_BRANCH
❯ git tag --contains 2cf7fd12ad2895b13c9dea6717843bc15ca46ca3 | rg 51 NSS_3_51_1_BETA1
NSS_3_51_1_RTM
NSS_3_51_BETA1
NSS_3_51_BETA2
NSS_3_51_RTM

Quoted 3 lines

so it's already part of 3.51 unless we somehow managed to revert part of that change and I don't see that.

Has anyone else seen this error on dunfell?

I don't recall ever seeing this in any of my dunfell testing.

Steve

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102439): https://lists.openembedded.org/g/openembedded-devel/message/102439
Mute This Topic: https://lists.openembedded.org/mt/98761347/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-